CFLAGS = -O
LIBS   = -lX11 -lm
INCS   = char.h constants.h gi.h macros.h types.h 
  CC   = cc 

x3d: x3d.c $(INCS)
	$(CC) $(CFLAGS) $(DEFS) -o x3d x3d.c $(LIBS) 

clean:
	rm x3d
